import { BasicColumn, FormSchema } from '/@/components/Table';
export const columns: BasicColumn[] = [
  {
    title: '销售组织',
    dataIndex: 'saleOrg',
    width: 100,
  },
  {
    title: '经销商编码',
    dataIndex: 'dealerCode',
    width: 100,
  },
  {
    title: '经销商名称',
    dataIndex: 'dealerName',
    width: 100,
  },
  {
    title: '供应商代码',
    dataIndex: 'supplierCode',
    width: 100,
  },
  {
    title: '供应商名称',
    dataIndex: 'supplierName',
    width: 100,
  },
  {
    title: '申请时间',
    dataIndex: 'createTime',
    width: 100,
  },
  {
    title: '审核通过时间',
    dataIndex: 'startTime',
    width: 100,
  },
  {
    title: '申请原因',
    dataIndex: 'applyReason',
    width: 100,
  },
];

export const searchFormSchema: FormSchema[] = [
  {
    label: '经销商',
    field: 'dealerName',
    component: 'JinHuiDealerSelect',
  },
];

export const formSchema: FormSchema[] = [
  {
    field: 'id',
    label: 'id',
    component: 'Input',
    show: false,
  },
  // {
  //   label: 'CRM公司编码',
  //   field: 'companyCodeCrm',
  //   component: 'Input',
  //   required: true,
  // },
];
